from applications.extensions import ma
from marshmallow import fields
from applications.models import software_web

# 用户models的序列化类
class software_webOutSchema(ma.Schema):
    id = fields.Integer()
    filename = fields.Str()
    version = fields.Str()
    size = fields.Str()
    platform = fields.Str()
    description= fields.Str()
    url= fields.Str()
    upload_time= fields.DateTime()
    count= fields.Integer()
    enable= fields.Str()
    